home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 July & August / PCWorld_2007-07-08_cd.bin / v cisle / dvdstyler / DVDStyler-1.5-win32u.exe / {app} / buttons / text-shadow.xml < prev    next >
Extensible Markup Language  |  2006-07-23  |  2KB  |  67 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <button>
  3.   <title>Shadow text</title>
  4.   <svg xmlns="http://www.w3.org/2000/svg"
  5.        xmlns:xlink="http://www.w3.org/1999/xlink"
  6.        width="8" height="8">
  7.     <defs>
  8.       <text id="text" x="50%" y="50%" text-anchor="middle"
  9.             dominant-baseline="middle">button</text>
  10.     </defs>
  11.     <use id="shadow" xlink:href="#text" x="2" y="2" style="fill:#888888"/>
  12.     <use id="textc" xlink:href="#text" x="0" y="0" style="fill:#FFFFFF"/>
  13.   </svg>
  14.   <parameters>
  15.     <parameter>
  16.       <title>Label</title>
  17.       <name>text</name>
  18.       <type>text</type>
  19.       <element>text</element>
  20.     </parameter>
  21.     <parameter>
  22.       <title>Text colour</title>
  23.       <name>text_fill</name>
  24.       <type>colour</type>
  25.       <element>textc</element>
  26.       <attribute>fill</attribute>
  27.       <changeable/>
  28.       <default-value>
  29.          <highlighted>#0000FF</highlighted>
  30.          <selected>#FF0000</selected>
  31.       </default-value>
  32.     </parameter>
  33.     <parameter>
  34.       <title>Shadow colour</title>
  35.       <name>text_shadow</name>
  36.       <type>colour</type>
  37.       <element>shadow</element>
  38.       <attribute>fill</attribute>
  39.     </parameter>
  40.     <parameter>
  41.       <title>Shadow offset x</title>
  42.       <name>shadow_x</name>
  43.       <type>integer</type>
  44.       <element>shadow</element>
  45.       <attribute>x</attribute>
  46.     </parameter>
  47.     <parameter>
  48.       <title>Shadow offset y</title>
  49.       <name>shadow_y</name>
  50.       <type>integer</type>
  51.       <element>shadow</element>
  52.       <attribute>y</attribute>
  53.     </parameter>
  54.   </parameters>
  55.   <init-parameter>text</init-parameter>
  56.   <default-size>
  57.     <element>text</element>
  58.     <width>8</width>
  59.     <height>8</height>
  60.   </default-size>
  61.   <min-size>
  62.     <element>text</element>
  63.     <width>8</width>
  64.     <height>8</height>
  65.   </min-size>
  66. </button>
  67.